package com.nuoniu.sibanyun.entity.finance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 资产负债明细表
 * </p>
 *
 * @author 小啊刚
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("v_assets_liabilities_detail")
@ApiModel(value="VAssetsLiabilitiesDetail对象", description="资产负债明细表")
public class VAssetsLiabilitiesDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主表id")
    @TableField("order_id")
    private Integer orderId;

    @ApiModelProperty(value = "行数")
    @TableField("rows")
    private Integer rows;

    @ApiModelProperty(value = "列数")
    @TableField("columns")
    private Integer columns;

    @ApiModelProperty(value = "级次")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "行次")
    @TableField("line_number")
    private Integer lineNumber;

    @ApiModelProperty(value = "类型:1文本 2公式 3:计算")
    @TableField("type")
    private Boolean type;

    @ApiModelProperty(value = "值")
    @TableField("value")
    private String value;

    @ApiModelProperty(value = "公式")
    @TableField(exist = false)
    private List<VAssetsLiabilitiesFormula> assetsLiabilitiesFormulas;

}
